import request from '@/utils/request'

// 查询orders_cost医嘱费用列表 (分页)
export function selectPageOrdersCost(query) {
    return request({
        url: '/business/ordersCost/selectPage',
        method: 'get',
        params: query
    })
}

// 查询orders_cost医嘱费用列表 (不分页)
export function listOrdersCost(query) {
    return request({
        url: '/business/ordersCost/list',
        method: 'get',
        params: query
    })
}

// 查询orders_cost医嘱费用详细
export function getOrdersCost(id) {
    return request({
        url: '/business/ordersCost/' + id,
        method: 'get'
    })
}

// 新增orders_cost医嘱费用
export function addOrdersCost(data) {
    return request({
        url: '/business/ordersCost',
        method: 'post',
        data: data
    })
}

// 修改orders_cost医嘱费用
export function updateOrdersCost(data) {
    return request({
        url: '/business/ordersCost',
        method: 'put',
        data: data
    })
}

// 删除orders_cost医嘱费用
export function delOrdersCost(id) {
    return request({
        url: '/business/ordersCost/' + id,
        method: 'delete'
    })
}
